home *** CD-ROM | disk | FTP | other *** search
- /*
- * S(ite) G(eometry and) T(opology)
- *
- */
-
- #ifndef _SGT_H_
- #define _SGT_H_
-
- #include <stdlib.h>
- #include <stdio.h>
- #include <stdarg.h>
- #include <string.h>
- #include <math.h>
- #include "vora.h"
- #include "ip.h"
-
-
- /* function prototypes */
- /* xsgt.c */
- extern void gprintf (FILE * fpOut, char *fmt,...);
- extern void fail_alloc (char *str, int code);
- extern void exitmess (char *prompt, int status);
- extern void usage (char *progname);
- extern void skip_n_lines (FILE * file_pointer, int n_lines_to_skip);
- extern void main (int argc, char **argv);
- #if defined(LINUX)
- extern int cmp_root_a (struct kNNShell *t1, struct kNNShell *t2);
- #else
- extern int cmp_root_a (const void *t1, const void *t2);
- #endif
- /* anal_gt.c */
- extern double p_of_nA (int *idn, unsigned int **a_n, int ns, struct vSite *sa);
- extern int a_vs_vPa (struct Pix *dpa, int ns, struct vSite *vsa,
- double *ma_tdt, double *mva);
- extern int eval_sij (float **bs, int ns, struct vSite *sa);
- /* gen_dt_i.c */
- extern int get_record_size (FILE * file);
- extern int get_prm_size (FILE * file);
- extern void get_col2_data (FILE * file, int n_parms, float *a,
- int npts, float *x, float *y, float *sig);
- extern void get_col3_data (FILE * file, int n_parms, float *a,
- int npts, float *x, float *oy, float *y, float *sig);
- extern void write_pft_file (FILE * file, float *x, float *y, float *rsd,
- int n_pts, float *x_fit, float *y_fit, int n_fit,
- float *parameters, int n_parms, double chisq);
- extern void write_adt_file (FILE * file,
- float *x_data, float *y_data, float *acf, int npts, int n_parms);
-
-
- #endif /* _SGT_H_ */
-